package com.example.admin.service;


import com.example.admin.pojo.Admin;
import com.example.admin.pojo.Permission;

import java.util.List;

public interface AdminService {

    Admin findAdminByUsernameAndPassword(String username,String password);

    List<Permission> findPermissionByAdminId(Long id);
}
